#import <UIKit/UIKit.h>
#import <Flutter/Flutter.h>

NS_ASSUME_NONNULL_BEGIN

@interface DictPageViewPlatformView: NSObject<FlutterPlatformView>

+(DictPageViewPlatformView*)findViewByViewIdentifier:(int64_t)viewId;

- (void) createWithFrame:(CGRect) frame
    viewIdentifier:(int64_t)viewId
    arguments:(id _Nullable)args;
- (UIView *)view;

- (void)loadTab:(NSArray*)data;
- (void)loadUrl:(NSString*)url atIndex:(int)index;
- (void)changeTab:(int)index;
- (NSData*)takePhoto:(int)index;
@end

NS_ASSUME_NONNULL_END